<template>
  <div>
    <el-button type="primary" @click="openDialog" >elPlus-dialog</el-button>
    <elplusModal v-model="dialogVisible"></elplusModal>
  </div>
</template>


<script setup lang="ts">
import elplusModal from "./modal/elplusModal.vue";
import {useModalhooks} from "./modal/useModalhooks";
useModalhooks()
const {dialogVisible,openDialog} =useModalhooks()
</script>

<style scoped>

</style>